package cn.jxau.fukin.model;

/**
 * Description:自定义封装类，交易记录和用户
 * Title:TradeUser
 * @author ChunFu-Lee
 * @date 2017-9-17 下午4:34:15
 */
public class TradeUser {
	private Trade trade;
	private User user;
	private User acceptUser;

	public Trade getTrade() {
		return trade;
	}

	public void setTrade(Trade trade) {
		this.trade = trade;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getAcceptUser() {
		return acceptUser;
	}

	public void setAcceptUser(User acceptUser) {
		this.acceptUser = acceptUser;
	}

	public TradeUser(Trade trade, User user, User acceptUser) {
		super();
		this.trade = trade;
		this.user = user;
		this.acceptUser = acceptUser;
	}

	public TradeUser() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "TradeUser [trade=" + trade + ", user=" + user + ", acceptUser=" + acceptUser + "]";
	}

}
